<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="API docs for the Path class from the dart:ui library, for the Dart programming language.">
  <title>Path class - dart:ui library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">

</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">spritewidget</a></li>
    <li><a href="dart-ui/dart-ui-library.html">dart:ui</a></li>
    <li class="self-crumb">Path class</li>
  </ol>
  <div class="self-name">Path</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <h5>dart:ui library</h5>
    <ol>
      <li class="section-title"><a href="dart-ui/dart-ui-library.html#classes">Classes</a></li>
      <li><a href="dart-ui/Canvas-class.html">Canvas</a></li>
      <li><a href="dart-ui/Codec-class.html">Codec</a></li>
      <li><a href="dart-ui/Color-class.html">Color</a></li>
      <li><a href="dart-ui/ColorFilter-class.html">ColorFilter</a></li>
      <li><a href="dart-ui/EncodingFormat-class.html">EncodingFormat</a></li>
      <li><a href="dart-ui/FontWeight-class.html">FontWeight</a></li>
      <li><a href="dart-ui/FrameInfo-class.html">FrameInfo</a></li>
      <li><a href="dart-ui/Gradient-class.html">Gradient</a></li>
      <li><a href="dart-ui/Image-class.html">Image</a></li>
      <li><a href="dart-ui/ImageFilter-class.html">ImageFilter</a></li>
      <li><a href="dart-ui/ImageShader-class.html">ImageShader</a></li>
      <li><a href="dart-ui/Locale-class.html">Locale</a></li>
      <li><a href="dart-ui/MaskFilter-class.html">MaskFilter</a></li>
      <li><a href="dart-ui/Offset-class.html">Offset</a></li>
      <li><a href="dart-ui/OffsetBase-class.html">OffsetBase</a></li>
      <li><a href="dart-ui/Paint-class.html">Paint</a></li>
      <li><a href="dart-ui/Paragraph-class.html">Paragraph</a></li>
      <li><a href="dart-ui/ParagraphBuilder-class.html">ParagraphBuilder</a></li>
      <li><a href="dart-ui/ParagraphConstraints-class.html">ParagraphConstraints</a></li>
      <li><a href="dart-ui/ParagraphStyle-class.html">ParagraphStyle</a></li>
      <li><a href="dart-ui/Path-class.html">Path</a></li>
      <li><a href="dart-ui/Picture-class.html">Picture</a></li>
      <li><a href="dart-ui/PictureRecorder-class.html">PictureRecorder</a></li>
      <li><a href="dart-ui/PointerData-class.html">PointerData</a></li>
      <li><a href="dart-ui/PointerDataPacket-class.html">PointerDataPacket</a></li>
      <li><a href="dart-ui/Radius-class.html">Radius</a></li>
      <li><a href="dart-ui/Rect-class.html">Rect</a></li>
      <li><a href="dart-ui/RRect-class.html">RRect</a></li>
      <li><a href="dart-ui/RSTransform-class.html">RSTransform</a></li>
      <li><a href="dart-ui/Scene-class.html">Scene</a></li>
      <li><a href="dart-ui/SceneBuilder-class.html">SceneBuilder</a></li>
      <li><a href="dart-ui/SceneHost-class.html">SceneHost</a></li>
      <li><a href="dart-ui/SemanticsAction-class.html">SemanticsAction</a></li>
      <li><a href="dart-ui/SemanticsFlag-class.html">SemanticsFlag</a></li>
      <li><a href="dart-ui/SemanticsUpdate-class.html">SemanticsUpdate</a></li>
      <li><a href="dart-ui/SemanticsUpdateBuilder-class.html">SemanticsUpdateBuilder</a></li>
      <li><a href="dart-ui/Shader-class.html">Shader</a></li>
      <li><a href="dart-ui/Size-class.html">Size</a></li>
      <li><a href="dart-ui/TextBox-class.html">TextBox</a></li>
      <li><a href="dart-ui/TextDecoration-class.html">TextDecoration</a></li>
      <li><a href="dart-ui/TextPosition-class.html">TextPosition</a></li>
      <li><a href="dart-ui/TextStyle-class.html">TextStyle</a></li>
      <li><a href="dart-ui/Vertices-class.html">Vertices</a></li>
      <li><a href="dart-ui/Window-class.html">Window</a></li>
      <li><a href="dart-ui/WindowPadding-class.html">WindowPadding</a></li>
    
    
      <li class="section-title"><a href="dart-ui/dart-ui-library.html#properties">Properties</a></li>
      <li><a href="dart-ui/window.html">window</a></li>
    
      <li class="section-title"><a href="dart-ui/dart-ui-library.html#functions">Functions</a></li>
      <li><a href="dart-ui/decodeImageFromList.html">decodeImageFromList</a></li>
      <li><a href="dart-ui/hashList.html">hashList</a></li>
      <li><a href="dart-ui/hashValues.html">hashValues</a></li>
      <li><a href="dart-ui/instantiateImageCodec.html">instantiateImageCodec</a></li>
      <li><a href="dart-ui/lerpDouble.html">lerpDouble</a></li>
    
      <li class="section-title"><a href="dart-ui/dart-ui-library.html#enums">Enums</a></li>
      <li><a href="dart-ui/AppLifecycleState-class.html">AppLifecycleState</a></li>
      <li><a href="dart-ui/BlendMode-class.html">BlendMode</a></li>
      <li><a href="dart-ui/BlurStyle-class.html">BlurStyle</a></li>
      <li><a href="dart-ui/ClipOp-class.html">ClipOp</a></li>
      <li><a href="dart-ui/FilterQuality-class.html">FilterQuality</a></li>
      <li><a href="dart-ui/FontStyle-class.html">FontStyle</a></li>
      <li><a href="dart-ui/PaintingStyle-class.html">PaintingStyle</a></li>
      <li><a href="dart-ui/PathFillType-class.html">PathFillType</a></li>
      <li><a href="dart-ui/PointerChange-class.html">PointerChange</a></li>
      <li><a href="dart-ui/PointerDeviceKind-class.html">PointerDeviceKind</a></li>
      <li><a href="dart-ui/PointMode-class.html">PointMode</a></li>
      <li><a href="dart-ui/StrokeCap-class.html">StrokeCap</a></li>
      <li><a href="dart-ui/StrokeJoin-class.html">StrokeJoin</a></li>
      <li><a href="dart-ui/TextAffinity-class.html">TextAffinity</a></li>
      <li><a href="dart-ui/TextAlign-class.html">TextAlign</a></li>
      <li><a href="dart-ui/TextBaseline-class.html">TextBaseline</a></li>
      <li><a href="dart-ui/TextDecorationStyle-class.html">TextDecorationStyle</a></li>
      <li><a href="dart-ui/TextDirection-class.html">TextDirection</a></li>
      <li><a href="dart-ui/TileMode-class.html">TileMode</a></li>
      <li><a href="dart-ui/VertexMode-class.html">VertexMode</a></li>
    
      <li class="section-title"><a href="dart-ui/dart-ui-library.html#typedefs">Typedefs</a></li>
      <li><a href="dart-ui/FrameCallback.html">FrameCallback</a></li>
      <li><a href="dart-ui/ImageDecoderCallback.html">ImageDecoderCallback</a></li>
      <li><a href="dart-ui/PlatformMessageCallback.html">PlatformMessageCallback</a></li>
      <li><a href="dart-ui/PlatformMessageResponseCallback.html">PlatformMessageResponseCallback</a></li>
      <li><a href="dart-ui/PointerDataPacketCallback.html">PointerDataPacketCallback</a></li>
      <li><a href="dart-ui/SemanticsActionCallback.html">SemanticsActionCallback</a></li>
      <li><a href="dart-ui/VoidCallback.html">VoidCallback</a></li>
    
    </ol>
  </div>

  <div class="col-xs-12 col-sm-9 col-md-8 main-content">
    <h1>Path class</h1>

    <section class="desc markdown">
      <p>A complex, one-dimensional subset of a plane.</p>
<p>A path consists of a number of subpaths, and a <em>current point</em>.</p>
<p>Subpaths consist of segments of various types, such as lines,
arcs, or beziers. Subpaths can be open or closed, and can
self-intersect.</p>
<p>Closed subpaths enclose a (possibly discontiguous) region of the
plane based on the current <a href="dart-ui/Path/fillType.html">fillType</a>.</p>
<p>The <em>current point</em> is initially at the origin. After each
operation adding a segment to a subpath, the current point is
updated to the end of that segment.</p>
<p>Paths can be drawn on canvases using <a href="dart-ui/Canvas/drawPath.html">Canvas.drawPath</a>, and can
used to create clip regions using <a href="dart-ui/Canvas/clipPath.html">Canvas.clipPath</a>.</p>
    </section>
    

    <section class="summary offset-anchor" id="constructors">
      <h2>Constructors</h2>

      <dl class="constructor-summary-list">
        <dt id="Path" class="callable">
          <span class="name"><a href="dart-ui/Path/Path.html">Path</a></span><span class="signature">()</span>
        </dt>
        <dd>
          Create a new empty <a href="dart-ui/Path-class.html">Path</a> object.
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-properties">
      <h2>Properties</h2>

      <dl class="properties">
        <dt id="fillType" class="property">
          <span class="name"><a href="dart-ui/Path/fillType.html">fillType</a></span>
          <span class="signature">&#8596; <a href="dart-ui/PathFillType-class.html">PathFillType</a></span>
        </dt>
        <dd>
          Determines how the interior of this path is calculated. <a href="dart-ui/Path/fillType.html">[...]</a>
          <div class="features">read / write</div>
</dd>
        <dt id="hashCode" class="property inherited">
          <span class="name"><a href="dart-core/Object/hashCode.html">hashCode</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd class="inherited">
          The hash code for this object. <a href="dart-core/Object/hashCode.html">[...]</a>
          <div class="features">read-only, inherited</div>
</dd>
        <dt id="runtimeType" class="property inherited">
          <span class="name"><a href="dart-core/Object/runtimeType.html">runtimeType</a></span>
          <span class="signature">&#8594; <a href="dart-core/Type-class.html">Type</a></span>
        </dt>
        <dd class="inherited">
          A representation of the runtime type of the object.
          <div class="features">read-only, inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-methods">
      <h2>Methods</h2>
      <dl class="callables">
        <dt id="addArc" class="callable">
          <span class="name"><a href="dart-ui/Path/addArc.html">addArc</a></span><span class="signature">(<wbr><span class="parameter" id="addArc-param-oval"><span class="type-annotation"><a href="dart-ui/Rect-class.html">Rect</a></span> <span class="parameter-name">oval</span>, </span> <span class="parameter" id="addArc-param-startAngle"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">startAngle</span>, </span> <span class="parameter" id="addArc-param-sweepAngle"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">sweepAngle</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a new subpath with one arc segment that consists of the arc
that follows the edge of the oval bounded by the given
rectangle, from startAngle radians around the oval up to
startAngle + sweepAngle radians around the oval, with zero
radians being the point on the right hand side of the oval that
crosses the horizontal line that intersects the center of the
rectangle and with positive angles going clockwise around the
oval.
          
</dd>
        <dt id="addOval" class="callable">
          <span class="name"><a href="dart-ui/Path/addOval.html">addOval</a></span><span class="signature">(<wbr><span class="parameter" id="addOval-param-oval"><span class="type-annotation"><a href="dart-ui/Rect-class.html">Rect</a></span> <span class="parameter-name">oval</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a new subpath that consists of a curve that forms the
ellipse that fills the given rectangle. <a href="dart-ui/Path/addOval.html">[...]</a>
          
</dd>
        <dt id="addPath" class="callable">
          <span class="name"><a href="dart-ui/Path/addPath.html">addPath</a></span><span class="signature">(<wbr><span class="parameter" id="addPath-param-path"><span class="type-annotation"><a href="dart-ui/Path-class.html">Path</a></span> <span class="parameter-name">path</span>, </span> <span class="parameter" id="addPath-param-offset"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">offset</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a new subpath that consists of the given path offset by the given
offset.
          
</dd>
        <dt id="addPolygon" class="callable">
          <span class="name"><a href="dart-ui/Path/addPolygon.html">addPolygon</a></span><span class="signature">(<wbr><span class="parameter" id="addPolygon-param-points"><span class="type-annotation"><a href="dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-ui/Offset-class.html">Offset</a></span>&gt;</span></span> <span class="parameter-name">points</span>, </span> <span class="parameter" id="addPolygon-param-close"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">close</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a new subpath with a sequence of line segments that connect the given
points. <a href="dart-ui/Path/addPolygon.html">[...]</a>
          
</dd>
        <dt id="addRect" class="callable">
          <span class="name"><a href="dart-ui/Path/addRect.html">addRect</a></span><span class="signature">(<wbr><span class="parameter" id="addRect-param-rect"><span class="type-annotation"><a href="dart-ui/Rect-class.html">Rect</a></span> <span class="parameter-name">rect</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a new subpath that consists of four lines that outline the
given rectangle.
          
</dd>
        <dt id="addRRect" class="callable">
          <span class="name"><a href="dart-ui/Path/addRRect.html">addRRect</a></span><span class="signature">(<wbr><span class="parameter" id="addRRect-param-rrect"><span class="type-annotation"><a href="dart-ui/RRect-class.html">RRect</a></span> <span class="parameter-name">rrect</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a new subpath that consists of the straight lines and
curves needed to form the rounded rectangle described by the
argument.
          
</dd>
        <dt id="arcTo" class="callable">
          <span class="name"><a href="dart-ui/Path/arcTo.html">arcTo</a></span><span class="signature">(<wbr><span class="parameter" id="arcTo-param-rect"><span class="type-annotation"><a href="dart-ui/Rect-class.html">Rect</a></span> <span class="parameter-name">rect</span>, </span> <span class="parameter" id="arcTo-param-startAngle"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">startAngle</span>, </span> <span class="parameter" id="arcTo-param-sweepAngle"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">sweepAngle</span>, </span> <span class="parameter" id="arcTo-param-forceMoveTo"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">forceMoveTo</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          If the <code>forceMoveTo</code> argument is false, adds a straight line
segment and an arc segment. <a href="dart-ui/Path/arcTo.html">[...]</a>
          
</dd>
        <dt id="arcToPoint" class="callable">
          <span class="name"><a href="dart-ui/Path/arcToPoint.html">arcToPoint</a></span><span class="signature">(<wbr><span class="parameter" id="arcToPoint-param-arcEnd"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">arcEnd</span>, {</span> <span class="parameter" id="arcToPoint-param-radius"><span class="type-annotation"><a href="dart-ui/Radius-class.html">Radius</a></span> <span class="parameter-name">radius</span>: <span class="default-value">Radius.zero</span>, </span> <span class="parameter" id="arcToPoint-param-rotation"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">rotation</span>: <span class="default-value">0.0</span>, </span> <span class="parameter" id="arcToPoint-param-largeArc"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">largeArc</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="arcToPoint-param-clockwise"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">clockwise</span>: <span class="default-value">true</span></span> })
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Appends up to four conic curves weighted to describe an oval of <code>radius</code>
and rotated by <code>rotation</code>. <a href="dart-ui/Path/arcToPoint.html">[...]</a>
          
</dd>
        <dt id="close" class="callable">
          <span class="name"><a href="dart-ui/Path/close.html">close</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Closes the last subpath, as if a straight line had been drawn
from the current point to the first point of the subpath.
          
</dd>
        <dt id="conicTo" class="callable">
          <span class="name"><a href="dart-ui/Path/conicTo.html">conicTo</a></span><span class="signature">(<wbr><span class="parameter" id="conicTo-param-x1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x1</span>, </span> <span class="parameter" id="conicTo-param-y1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y1</span>, </span> <span class="parameter" id="conicTo-param-x2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x2</span>, </span> <span class="parameter" id="conicTo-param-y2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y2</span>, </span> <span class="parameter" id="conicTo-param-w"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">w</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a bezier segment that curves from the current point to the
given point (x2,y2), using the control points (x1,y1) and the
weight w. If the weight is greater than 1, then the curve is a
hyperbola; if the weight equals 1, it's a parabola; and if it is
less than 1, it is an ellipse.
          
</dd>
        <dt id="contains" class="callable">
          <span class="name"><a href="dart-ui/Path/contains.html">contains</a></span><span class="signature">(<wbr><span class="parameter" id="contains-param-point"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">point</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd>
          Tests to see if the given point is within the path. (That is, whether the
point would be in the visible portion of the path if the path was used
with <a href="dart-ui/Canvas/clipPath.html">Canvas.clipPath</a>.) <a href="dart-ui/Path/contains.html">[...]</a>
          
</dd>
        <dt id="cubicTo" class="callable">
          <span class="name"><a href="dart-ui/Path/cubicTo.html">cubicTo</a></span><span class="signature">(<wbr><span class="parameter" id="cubicTo-param-x1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x1</span>, </span> <span class="parameter" id="cubicTo-param-y1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y1</span>, </span> <span class="parameter" id="cubicTo-param-x2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x2</span>, </span> <span class="parameter" id="cubicTo-param-y2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y2</span>, </span> <span class="parameter" id="cubicTo-param-x3"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x3</span>, </span> <span class="parameter" id="cubicTo-param-y3"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y3</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a cubic bezier segment that curves from the current point
to the given point (x3,y3), using the control points (x1,y1) and
(x2,y2).
          
</dd>
        <dt id="extendWithPath" class="callable">
          <span class="name"><a href="dart-ui/Path/extendWithPath.html">extendWithPath</a></span><span class="signature">(<wbr><span class="parameter" id="extendWithPath-param-path"><span class="type-annotation"><a href="dart-ui/Path-class.html">Path</a></span> <span class="parameter-name">path</span>, </span> <span class="parameter" id="extendWithPath-param-offset"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">offset</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds the given path to this path by extending the current segment of this
path with the the first segment of the given path.
          
</dd>
        <dt id="lineTo" class="callable">
          <span class="name"><a href="dart-ui/Path/lineTo.html">lineTo</a></span><span class="signature">(<wbr><span class="parameter" id="lineTo-param-x"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x</span>, </span> <span class="parameter" id="lineTo-param-y"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a straight line segment from the current point to the given
point.
          
</dd>
        <dt id="moveTo" class="callable">
          <span class="name"><a href="dart-ui/Path/moveTo.html">moveTo</a></span><span class="signature">(<wbr><span class="parameter" id="moveTo-param-x"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x</span>, </span> <span class="parameter" id="moveTo-param-y"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Starts a new subpath at the given coordinate.
          
</dd>
        <dt id="quadraticBezierTo" class="callable">
          <span class="name"><a href="dart-ui/Path/quadraticBezierTo.html">quadraticBezierTo</a></span><span class="signature">(<wbr><span class="parameter" id="quadraticBezierTo-param-x1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x1</span>, </span> <span class="parameter" id="quadraticBezierTo-param-y1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y1</span>, </span> <span class="parameter" id="quadraticBezierTo-param-x2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x2</span>, </span> <span class="parameter" id="quadraticBezierTo-param-y2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y2</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a quadratic bezier segment that curves from the current
point to the given point (x2,y2), using the control point
(x1,y1).
          
</dd>
        <dt id="relativeArcToPoint" class="callable">
          <span class="name"><a href="dart-ui/Path/relativeArcToPoint.html">relativeArcToPoint</a></span><span class="signature">(<wbr><span class="parameter" id="relativeArcToPoint-param-arcEndDelta"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">arcEndDelta</span>, {</span> <span class="parameter" id="relativeArcToPoint-param-radius"><span class="type-annotation"><a href="dart-ui/Radius-class.html">Radius</a></span> <span class="parameter-name">radius</span>: <span class="default-value">Radius.zero</span>, </span> <span class="parameter" id="relativeArcToPoint-param-rotation"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">rotation</span>: <span class="default-value">0.0</span>, </span> <span class="parameter" id="relativeArcToPoint-param-largeArc"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">largeArc</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="relativeArcToPoint-param-clockwise"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">clockwise</span>: <span class="default-value">true</span></span> })
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Appends up to four conic curves weighted to describe an oval of <code>radius</code>
and rotated by <code>rotation</code>. <a href="dart-ui/Path/relativeArcToPoint.html">[...]</a>
          
</dd>
        <dt id="relativeConicTo" class="callable">
          <span class="name"><a href="dart-ui/Path/relativeConicTo.html">relativeConicTo</a></span><span class="signature">(<wbr><span class="parameter" id="relativeConicTo-param-x1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x1</span>, </span> <span class="parameter" id="relativeConicTo-param-y1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y1</span>, </span> <span class="parameter" id="relativeConicTo-param-x2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x2</span>, </span> <span class="parameter" id="relativeConicTo-param-y2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y2</span>, </span> <span class="parameter" id="relativeConicTo-param-w"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">w</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a bezier segment that curves from the current point to the
point at the offset (x2,y2) from the current point, using the
control point at the offset (x1,y1) from the current point and
the weight w. If the weight is greater than 1, then the curve is
a hyperbola; if the weight equals 1, it's a parabola; and if it
is less than 1, it is an ellipse.
          
</dd>
        <dt id="relativeCubicTo" class="callable">
          <span class="name"><a href="dart-ui/Path/relativeCubicTo.html">relativeCubicTo</a></span><span class="signature">(<wbr><span class="parameter" id="relativeCubicTo-param-x1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x1</span>, </span> <span class="parameter" id="relativeCubicTo-param-y1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y1</span>, </span> <span class="parameter" id="relativeCubicTo-param-x2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x2</span>, </span> <span class="parameter" id="relativeCubicTo-param-y2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y2</span>, </span> <span class="parameter" id="relativeCubicTo-param-x3"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x3</span>, </span> <span class="parameter" id="relativeCubicTo-param-y3"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y3</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a cubcic bezier segment that curves from the current point
to the point at the offset (x3,y3) from the current point, using
the control points at the offsets (x1,y1) and (x2,y2) from the
current point.
          
</dd>
        <dt id="relativeLineTo" class="callable">
          <span class="name"><a href="dart-ui/Path/relativeLineTo.html">relativeLineTo</a></span><span class="signature">(<wbr><span class="parameter" id="relativeLineTo-param-dx"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">dx</span>, </span> <span class="parameter" id="relativeLineTo-param-dy"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">dy</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a straight line segment from the current point to the point
at the given offset from the current point.
          
</dd>
        <dt id="relativeMoveTo" class="callable">
          <span class="name"><a href="dart-ui/Path/relativeMoveTo.html">relativeMoveTo</a></span><span class="signature">(<wbr><span class="parameter" id="relativeMoveTo-param-dx"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">dx</span>, </span> <span class="parameter" id="relativeMoveTo-param-dy"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">dy</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Starts a new subpath at the given offset from the current point.
          
</dd>
        <dt id="relativeQuadraticBezierTo" class="callable">
          <span class="name"><a href="dart-ui/Path/relativeQuadraticBezierTo.html">relativeQuadraticBezierTo</a></span><span class="signature">(<wbr><span class="parameter" id="relativeQuadraticBezierTo-param-x1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x1</span>, </span> <span class="parameter" id="relativeQuadraticBezierTo-param-y1"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y1</span>, </span> <span class="parameter" id="relativeQuadraticBezierTo-param-x2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">x2</span>, </span> <span class="parameter" id="relativeQuadraticBezierTo-param-y2"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">y2</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Adds a quadratic bezier segment that curves from the current
point to the point at the offset (x2,y2) from the current point,
using the control point at the offset (x1,y1) from the current
point.
          
</dd>
        <dt id="reset" class="callable">
          <span class="name"><a href="dart-ui/Path/reset.html">reset</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Clears the <a href="dart-ui/Path-class.html">Path</a> object of all subpaths, returning it to the
same state it had when it was created. The <em>current point</em> is
reset to the origin.
          
</dd>
        <dt id="shift" class="callable">
          <span class="name"><a href="dart-ui/Path/shift.html">shift</a></span><span class="signature">(<wbr><span class="parameter" id="shift-param-offset"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">offset</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-ui/Path-class.html">Path</a></span>
          </span>
        </dt>
        <dd>
          Returns a copy of the path with all the segments of every
subpath translated by the given offset.
          
</dd>
        <dt id="transform" class="callable">
          <span class="name"><a href="dart-ui/Path/transform.html">transform</a></span><span class="signature">(<wbr><span class="parameter" id="transform-param-matrix4"><span class="type-annotation"><a href="dart-typed_data/Float64List-class.html">Float64List</a></span> <span class="parameter-name">matrix4</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-ui/Path-class.html">Path</a></span>
          </span>
        </dt>
        <dd>
          Returns a copy of the path with all the segments of every
subpath transformed by the given matrix.
          
</dd>
        <dt id="noSuchMethod" class="callable inherited">
          <span class="name"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
            <span class="returntype parameter">&#8594; dynamic</span>
          </span>
        </dt>
        <dd class="inherited">
          Invoked when a non-existent method or property is accessed. <a href="dart-core/Object/noSuchMethod.html">[...]</a>
          <div class="features">inherited</div>
</dd>
        <dt id="toString" class="callable inherited">
          <span class="name"><a href="dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/String-class.html">String</a></span>
          </span>
        </dt>
        <dd class="inherited">
          Returns a string representation of this object.
          <div class="features">inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor inherited" id="operators">
      <h2>Operators</h2>
      <dl class="callables">
        <dt id="operator ==" class="callable inherited">
          <span class="name"><a href="dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">dynamic</span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd class="inherited">
          The equality operator. <a href="dart-core/Object/operator_equals.html">[...]</a>
          <div class="features">inherited</div>
</dd>
      </dl>
    </section>




  </div> <!-- /.main-content -->

  <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
    <ol>
      <li class="section-title"><a href="dart-ui/Path-class.html#constructors">Constructors</a></li>
      <li><a href="dart-ui/Path/Path.html">Path</a></li>
    
      <li class="section-title">
        <a href="dart-ui/Path-class.html#instance-properties">Properties</a>
      </li>
      <li><a href="dart-ui/Path/fillType.html">fillType</a></li>
      <li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
      <li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
    
      <li class="section-title"><a href="dart-ui/Path-class.html#instance-methods">Methods</a></li>
      <li><a href="dart-ui/Path/addArc.html">addArc</a></li>
      <li><a href="dart-ui/Path/addOval.html">addOval</a></li>
      <li><a href="dart-ui/Path/addPath.html">addPath</a></li>
      <li><a href="dart-ui/Path/addPolygon.html">addPolygon</a></li>
      <li><a href="dart-ui/Path/addRect.html">addRect</a></li>
      <li><a href="dart-ui/Path/addRRect.html">addRRect</a></li>
      <li><a href="dart-ui/Path/arcTo.html">arcTo</a></li>
      <li><a href="dart-ui/Path/arcToPoint.html">arcToPoint</a></li>
      <li><a href="dart-ui/Path/close.html">close</a></li>
      <li><a href="dart-ui/Path/conicTo.html">conicTo</a></li>
      <li><a href="dart-ui/Path/contains.html">contains</a></li>
      <li><a href="dart-ui/Path/cubicTo.html">cubicTo</a></li>
      <li><a href="dart-ui/Path/extendWithPath.html">extendWithPath</a></li>
      <li><a href="dart-ui/Path/lineTo.html">lineTo</a></li>
      <li><a href="dart-ui/Path/moveTo.html">moveTo</a></li>
      <li><a href="dart-ui/Path/quadraticBezierTo.html">quadraticBezierTo</a></li>
      <li><a href="dart-ui/Path/relativeArcToPoint.html">relativeArcToPoint</a></li>
      <li><a href="dart-ui/Path/relativeConicTo.html">relativeConicTo</a></li>
      <li><a href="dart-ui/Path/relativeCubicTo.html">relativeCubicTo</a></li>
      <li><a href="dart-ui/Path/relativeLineTo.html">relativeLineTo</a></li>
      <li><a href="dart-ui/Path/relativeMoveTo.html">relativeMoveTo</a></li>
      <li><a href="dart-ui/Path/relativeQuadraticBezierTo.html">relativeQuadraticBezierTo</a></li>
      <li><a href="dart-ui/Path/reset.html">reset</a></li>
      <li><a href="dart-ui/Path/shift.html">shift</a></li>
      <li><a href="dart-ui/Path/transform.html">transform</a></li>
      <li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
      <li class="inherited"><a href="dart-core/Object/toString.html">toString</a></li>
    
      <li class="section-title inherited"><a href="dart-ui/Path-class.html#operators">Operators</a></li>
      <li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>
    
    
    
    </ol>
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    spritewidget 0.9.16
  </span>

</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>


</body>

</html>
